﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class Sys_ParameterCollection : List<Sys_Parameter>
    {
        public int IndexOf(Sys_Parameter item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, Sys_Parameter item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public Sys_Parameter this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(Sys_Parameter item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(Sys_Parameter item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(Sys_Parameter[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(Sys_Parameter item)
        {
            base.Remove(item);
        }
        public new IEnumerator<Sys_Parameter> GetEnumerator()
        {
            return base.GetEnumerator();
        }  
    }
    public class Sys_Parameter
    {
        private int _IdPar;

        public int IdPar
        {
            get { return _IdPar; }
            set { _IdPar = value; }
        }
        private string _ParCode;

        public string ParCode
        {
            get { return _ParCode; }
            set { _ParCode = value; }
        }
        private string _ParName;

        public string ParName
        {
            get { return _ParName; }
            set { _ParName = value; }
        }
        private string _ParValue;

        public string ParValue
        {
            get { return _ParValue; }
            set { _ParValue = value; }
        }
        private Boolean _ParType;

        public Boolean ParType
        {
            get { return _ParType; }
            set { _ParType = value; }
        }
        private int _Capcha;

        public int Capcha
        {
            get { return _Capcha; }
            set { _Capcha = value; }
        }
        private int _Group;

        public int Group
        {
            get { return _Group; }
            set { _Group = value; }
        }
        private Boolean _IsUse;

        public Boolean IsUse
        {
            get { return _IsUse; }
            set { _IsUse = value; }
        }
        private DateTime _UpdateDate;

        public DateTime UpdateDate
        {
            get { return _UpdateDate; }
            set { _UpdateDate = value; }
        }
        private int _UpdateBy;

        public int UpdateBy
        {
            get { return _UpdateBy; }
            set { _UpdateBy = value; }
        }
        private Boolean _Status;

        public Boolean Status
        {
            get { return _Status; }
            set { _Status = value; }
        }
    }
}
